<extend name="Template:main/content" />
<block name="page-content-wrapper-content">
<div id="content-header">
		<div id="breadcrumb"> <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>开奖记录管理</a>
		 <a href="__CONTROLLER__/index" form-type='content'>开奖记录</a> 
		 <a>编辑</a>
		 </div>
</div>
	<div class="container-fluid">
		<hr>
		<div class="row-fluid">
			<div class="span12">
				<div class="widget-box">
					<div class="widget-title"> <span class="icon"> <i class="icon-info-sign"></i> </span>
						<h5>编辑开奖记录</h5>
					</div>
					<div class="widget-content nopadding">
						<form class="form-horizontal" method="post" action="__CONTROLLER__/update" name="basic_validate" id="basic_validate" novalidate="novalidate">
							<input type="hidden" name ="id" value="{$vo.id}"/>
						<div class="control-group">
							<label class="control-label">开奖期数</label>
							<div class="controls">
								<input type="text" name="date_num" value="{$vo.date_num}" placeholder='请填整数,如 38' verify="empty" style="width:20%!important">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label">开奖日期</label>
							<div class="controls">
								  <input name="date" type="text" value="{$vo.date}"  onclick="WdatePicker()" placeholder='请选择开奖日期'  class="tinput" style="width:20%"/>
							</div>
						</div>
						<div class="control-group">
							<label class="control-label">号码一</label>
							<div class="controls">
								<input type="text" name="p_1" value="{$vo.p_1}" placeholder='请填两位数,如  01-49'  verify="max_2"    style="width:20%!important">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label">号码二</label>
							<div class="controls">
								<input type="text" name="p_2" value="{$vo.p_2}" placeholder='请填两位数,如  01-49' verify="max_2" style="width:20%!important">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label">号码三</label>
							<div class="controls">
								<input type="text" name="p_3" value="{$vo.p_3}" placeholder='请填两位数,如  01-49'  verify="max_2" style="width:20%!important">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label">号码四</label>
							<div class="controls">
								<input type="text" name="p_4"  value="{$vo.p_4}" placeholder='请填两位数,如  01-49' verify="max_2" style="width:20%!important">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label">号码五</label>
							<div class="controls">
								<input type="text" name="p_5" value="{$vo.p_5}" placeholder='请填两位数,如  01-49' verify="max_2" style="width:20%!important">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label">号码六</label>
							<div class="controls">
								<input type="text" name="p_6"  value="{$vo.p_6}" placeholder='请填两位数,如  01-49' verify="max_2" style="width:20%!important">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label">特码</label>
							<div class="controls">
								<input type="text" name="tm" value="{$vo.tm}" placeholder='请填两位数,如  01-49'  verify="max_2" style="width:20%!important">
							</div>
						</div>
						
							<div class="form-actions">
								<button type="submit" class="btn btn-success" form-type="form-content" >修改</button>
								<a href="__CONTROLLER__/index" form-type='content'>
									<button class="btn btn-success">返回</button>
								</a>
							</div>
							
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="__PUBLIC__/matrix/matrix-admin/js/matrix.form_validation.js" type="text/javascript" charset="utf-8"></script>
</block>